<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>avahi</Name>
        <Homepage>http://avahi.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Local network service discovery</Summary>
        <Description>avahi is a system which facilitates service discovery on a local network. This means that you can plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared.</Description>
        <Archive sha1sum="1c6d234058fd7883b3a4515e99216fdc8f71b223" type="targz">https://github.com/lathiat/avahi/releases/download/v0.6.32/avahi-0.6.32.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>libdaemon-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>libepoxy-devel</Dependency>
            <Dependency>at-spi2-core-devel</Dependency>
            <Dependency>gdbm-devel</Dependency>
            <Dependency>intltool</Dependency>
            <!--Dependency>python-gtk-devel</Dependency>-->
            <!--not mono <Dependency>mono-devel</Dependency>
            <Dependency>gtk-sharp-devel</Dependency>-->
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">avahi-0.6.31-no-deprecations.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>avahi-glib</Name>
        <Summary>Libraries for easy use of avahi from glib applications</Summary>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency release="current">avahi</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libavahi-glib.*</Path>
            <Path fileType="library">/usr/lib/libavahi-gobject.*</Path>
        </Files>
    </Package>
    <Package>
        <Name>avahi-glib-devel</Name>
        <Summary>Development files for avahi-glib</Summary>
        <RuntimeDependencies>
            <Dependency release="current">avahi-glib</Dependency>
            <Dependency release="current">avahi-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/avahi-glib</Path>
            <Path fileType="header">/usr/include/avahi-gobject</Path>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-glib.pc</Path>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-gobject.pc</Path>
        </Files>
    </Package>

    <!--<Package>
        <Name>avahi-sharp</Name>
        <Summary>Mono language bindings for avahi mono development</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
            <Dependency release="current">avahi</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/mono/avahi-sharp</Path>
            <Path fileType="library">/usr/lib/mono/gac/avahi-sharp</Path>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-sharp.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-ui-sharp</Name>
        <Summary>Mono language bindings for avahi-ui</Summary>
        <RuntimeDependencies>
            <Dependency>mono-runtime</Dependency>
            <Dependency>gtk-sharp</Dependency>
            <Dependency release="current">avahi</Dependency>
            <Dependency release="current">avahi-ui</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/mono/avahi-ui-sharp</Path>
            <Path fileType="library">/usr/lib/mono/gac/avahi-ui-sharp</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-ui-sharp-devel</Name>
        <Summary>Development files for avahi-ui-sharp</Summary>
        <RuntimeDependencies>
            <Dependency release="current">avahi-ui-sharp</Dependency>
            <Dependency>gtk-sharp-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-ui-sharp.pc</Path>
        </Files>
	</Package>-->

    <Package>
        <Name>avahi-ui</Name>
        <Summary>Gtk user interface library for Avahi</Summary>
        <RuntimeDependencies>
            <Dependency>gdbm</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
            <Dependency release="current">avahi-glib</Dependency>
            <Dependency>atk</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>fontconfig</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libavahi-ui.so*</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-ui-devel</Name>
        <Summary>Development files for avahi-ui</Summary>
        <RuntimeDependencies>
            <Dependency>gtk2-devel</Dependency>
            <Dependency release="current">avahi-ui</Dependency>
            <Dependency release="current">avahi-devel</Dependency>
            <Dependency release="current">avahi-glib-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/avahi-ui</Path>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-ui.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-ui-gtk3</Name>
        <Summary>Gtk3 user interface library for Avahi</Summary>
        <RuntimeDependencies>
            <Dependency>gdbm</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
            <Dependency release="current">avahi-glib</Dependency>
            <Dependency>atk</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libavahi-ui-gtk3.so*</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-ui-gtk3-devel</Name>
        <Summary>Development files for avahi-ui-gtk3</Summary>
        <RuntimeDependencies>
            <Dependency>gtk2-devel</Dependency>
            <Dependency release="current">avahi-ui-gtk3</Dependency>
            <Dependency release="current">avahi-devel</Dependency>
            <Dependency release="current">avahi-glib-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-ui-gtk3.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-ui-tools</Name>
        <Summary>UI tools for mDNS browsing</Summary>
        <RuntimeDependencies>
            <Dependency>gtk3</Dependency>
            <Dependency>glib2</Dependency>
	    <!--<Dependency>python-gtk</Dependency>-->
            <Dependency release="current">avahi</Dependency>
            <Dependency release="current">avahi-ui</Dependency>
            <Dependency release="current">avahi-glib</Dependency>
            <Dependency release="current">avahi-ui-gtk3</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
            <Dependency>gtk3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python*/site-packages</Path>
            <Path fileType="executable">/usr/bin/b*</Path>
            <Path fileType="executable">/usr/bin/avahi-discover*</Path>
            <Path fileType="executable">/usr/bin/avahi-bookmarks</Path>
            <Path fileType="man">/usr/share/man/man1/b*</Path>
            <Path fileType="man">/usr/share/man/man1/avahi-discover*</Path>
            <Path fileType="man">/usr/share/man/man1/avahi-bookmarks*</Path>
            <Path fileType="data">/usr/share/avahi/interfaces</Path>
            <Path fileType="data">/usr/share/applications/b*</Path>
            <Path fileType="data">/usr/share/applications/avahi-discover.desktop</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-compat-howl</Name>
        <Summary>Libraries for howl compatibility</Summary>
        <RuntimeDependencies>
            <Dependency release="current">avahi</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libhowl.so*</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-compat-howl-devel</Name>
        <Summary>Development files for avahi-compat-howl</Summary>
        <RuntimeDependencies>
            <Dependency release="current">avahi-compat-howl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/avahi-compat-howl</Path>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-compat-howl.pc</Path>
            <Path fileType="data">/usr/lib/pkgconfig/howl.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-compat-libdns_sd</Name>
        <Summary>Libraries for Apple Bonjour mDNSResponder compatibility</Summary>
        <RuntimeDependencies>
            <Dependency release="current">avahi</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libdns_sd.so*</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-compat-libdns_sd-devel</Name>
        <Summary>Development files for avahi-compat-libdns_sd</Summary>
        <RuntimeDependencies>
            <Dependency release="current">avahi-compat-libdns_sd</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/avahi-compat-libdns_sd</Path>
            <Path fileType="header">/usr/include/dns_sd.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-compat-libdns_sd.pc</Path>
            <Path fileType="data">/usr/lib/pkgconfig/libdns_sd.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-libs</Name>
        <Summary>Libraries needed to run programs that use avahi</Summary>
        <RuntimeDependencies>
            <Dependency>dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libavahi-common.so*</Path>
            <Path fileType="library">/usr/lib/libavahi-client.so*</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi</Name>
        <RuntimeDependencies>
            <Dependency>dbus</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>libcap</Dependency>
            <Dependency>libdaemon</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/sbin/avahi-daemon</Path>
            <Path fileType="library">/usr/lib/libavahi-core.so*</Path>
            <Path fileType="config">/etc/avahi/avahi-daemon.conf</Path>
            <Path fileType="config">/etc/avahi/hosts</Path>
            <Path fileType="data">/etc/avahi/services/ssh.service</Path>
            <Path fileType="data">/etc/dbus-1/system.d/avahi-dbus.conf</Path>
            <Path fileType="data">/usr/share/avahi</Path>
            <Path fileType="data">/usr/share/dbus-1/interfaces/*.xml</Path>
            <Path fileType="data">/usr/share/dbus-1/system-services</Path>
            <Path fileType="data">/usr/lib/avahi/service*</Path>
            <Path fileType="data">/lib/systemd/system</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man/man5/*</Path>
            <Path fileType="man">/usr/share/man/man8/avahi-daemon.*</Path>
            <Path fileType="data">/run/avahi-daemon</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/avahi.conf</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/avahi.conf">avahi.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="avahi-daemon-service.py">System.Service</COMAR>
            <COMAR script="avahi-daemon-package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>avahi-autoipd</Name>
        <Summary>Link-local IPv4 address automatic configuration daemon (IPv4LL)</Summary>
        <RuntimeDependencies>
            <Dependency>libdaemon</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/avahi/avahi-autoipd.action</Path>
            <Path fileType="executable">/usr/sbin/avahi-autoipd</Path>
            <Path fileType="man">/usr/share/man/man8/avahi-autoipd.*</Path>
            <Path fileType="data">/var/lib/avahi-autoipd</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-dnsconfd</Name>
        <Summary>Configure local unicast DNS settings based on information published in mDNS</Summary>
        <RuntimeDependencies>
            <Dependency>libdaemon</Dependency>
            <Dependency release="current">avahi</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/avahi/avahi-dnsconfd.action</Path>
            <Path fileType="executable">/usr/sbin/avahi-dnsconfd</Path>
            <Path fileType="man">/usr/share/man/man8/avahi-dnsconfd.*</Path>
        </Files>
        <Provides>
            <COMAR script="avahi-dnsconfd-service.py" name="avahi_dnsconfd">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>avahi-tools</Name>
        <Summary>Command line tools for mDNS browsing and publishing</Summary>
        <RuntimeDependencies>
            <Dependency>gdbm</Dependency>
            <Dependency release="current">avahi</Dependency>
            <Dependency release="current">avahi-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
        </Files>
    </Package>

    <Package>
        <Name>avahi-devel</Name>
        <Summary>Development files for avahi</Summary>
        <RuntimeDependencies>
            <Dependency release="current">avahi-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-core.pc</Path>
            <Path fileType="data">/usr/lib/pkgconfig/avahi-client.pc</Path>
            <Path fileType="data">/usr/lib/girepository-1.0</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="header">/usr/include/avahi-client</Path>
            <Path fileType="header">/usr/include/avahi-common</Path>
            <Path fileType="header">/usr/include/avahi-core</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>0.6.32</Version>
            <Comment>Version Bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.6.31</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-20</Date>
            <Version>0.6.31</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>    
    </History>
</PISI>
